class UserModel {
  UserModel({
    this.uid,
    this.token,
    this.vipEndTime,
    this.pre,
  });

  UserModel.fromJson(dynamic json) {
    uid = json['uid'];
    token = json['token'];
    vipEndTime = json['vipEndTime'];
    pre = json['pre'];
  }
  int? uid;
  String? token;
  String? vipEndTime;
  String? pre;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['uid'] = uid;
    map['token'] = token;
    map['vipEndTime'] = vipEndTime;
    map['pre'] = pre;
    return map;
  }
}
